package chess;


public class RoomListMSG implements IMSG {
	private String prop;
	private String value;
	private String roomid;
	public RoomListMSG(String roomid,String prop,String value){
		
			this.roomid = roomid;
			this.prop = prop;
			this.value = value;
	}
	@Override
	public String toXML() {
		StringBuffer sb = new StringBuffer();
		sb.append("<message for=\"room\"");
		sb.append(" roomid=\""+this.roomid+"\"");
		sb.append(" prop=\""+this.prop+"\"");
		sb.append(" value=\""+this.value+"\"");
		sb.append("/>");
		return sb.toString();
	}

}
